import http from '@/utils/http'

/**
 * 上传会务模板
 * @param {FormData} formData - 包含文件的FormData对象
 * @returns {Promise} 上传结果
 */
export const uploadTemplate = (formData) => {
  return http.post('/user/uploadExcel', formData)
}

/**
 * 下载会务模板
 * @returns {Promise} 下载链接
 */
export const downloadTemplate = () => {
  return http.get('/user/getTemplate')
}

export const uploadMeetingTemplate = (formData) => {
  return http.post('/user/conferenceTemplate', formData)
}
